package com.xiaomiMall.mange.domain;

import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.config.RuoYiConfig;
import java.util.List;

/**
 * @author codefish
 * @date 2021/11/2
 * @apinote
 */

public class XiaoMiProd {
    @Excel(name = "编号")
    private String prodId;
    @Excel(name = "商品名称")
    private String prodTitle;
    private String prodPic;
    private String prodType;
    private String prodSuit;
    @Excel(name = "供应商")
    private String prodSupplier;
    private String prodService;
    @Excel(name = "商品描述")
    private String prodDesc;
    private String prodTypeId;
    @Excel(name = "状态")
    private String status;
    private String nid;
    private List<XiaoMiProdDetail> xiaoMiProdDetailList;

    public List<XiaoMiProdDetail> getXiaoMiProdDetailList() {
        return xiaoMiProdDetailList;
    }

    public void setXiaoMiProdDetailList(List<XiaoMiProdDetail> xiaoMiProdDetailList) {
        this.xiaoMiProdDetailList = xiaoMiProdDetailList;
    }

    //private XiaoMiProdDetail xiaoMiProdDetail;
    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getNid() {
        return nid;
    }

    public void setNid(String nid) {
        this.nid = nid;
    }

    public String getProdId() {
        return prodId;
    }

    public void setProdId(String prodId) {
        this.prodId = prodId;
    }

    public String getProdTitle() {
        return prodTitle;
    }

    public void setProdTitle(String prodTitle) {
        this.prodTitle = prodTitle;
    }

    public String getProdType() {
        return prodType;
    }

    public void setProdType(String prodType) {
        this.prodType = prodType;
    }

    public String getProdSuit() {
        return prodSuit;
    }

    public void setProdSuit(String prodSuit) {
        this.prodSuit = prodSuit;
    }

    public String getProdSupplier() {
        return prodSupplier;
    }

    public String getProdPic() {
        return prodPic;
    }

    public static String getProdPicturePath(){
        return RuoYiConfig.getProfile()+"/prodPicture2021";
    }

    public void setProdPic(String prodPic) {
        this.prodPic = prodPic;
    }

    public void setProdSupplier(String prodSupplier) {
        this.prodSupplier = prodSupplier;
    }

    public String getProdService() {
        return prodService;
    }

    public void setProdService(String prodService) {
        this.prodService = prodService;
    }

    public String getProdDesc() {
        return prodDesc;
    }

    public void setProdDesc(String prodDesc) {
        this.prodDesc = prodDesc;
    }

    public String getProdTypeId() {
        return prodTypeId;
    }

    public void setProdTypeId(String prodTypeId) {
        this.prodTypeId = prodTypeId;
    }

    @Override
    public String toString() {
        return "XiaoMiProd{" +
                "prodId='" + prodId + '\'' +
                ", prodTitle='" + prodTitle + '\'' +
                ", prodPic='" + prodPic + '\'' +
                ", prodType='" + prodType + '\'' +
                ", prodSuit='" + prodSuit + '\'' +
                ", prodSupplier='" + prodSupplier + '\'' +
                ", prodService='" + prodService + '\'' +
                ", prodDesc='" + prodDesc + '\'' +
                ", prodTypeId='" + prodTypeId + '\'' +
                ", status='" + status + '\'' +
                ", nid='" + nid + '\'' +
                ", xiaoMiProdDetailList=" + xiaoMiProdDetailList +
                '}';
    }
}
